package com.aliyun.heiyu.powermaster.server.rbac.request;

import java.util.Date;

/**
 * 分页
 */
public class PageEntity {
    //总页数
    private int totalPages;
    //每页显示条数
    private int pageCount;
    //当前页
    private int pageNumber;
    //开始时间
    private Date startTime;
    //结束时间
    private Date endTime;

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "PageEntity{" +
            "totalPages=" + totalPages +
            ", pageCount=" + pageCount +
            ", pageNumber=" + pageNumber +
            ", startTime=" + startTime +
            ", endTime=" + endTime +
            '}';
    }
}
